<?php
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$return=array();
set_html('title','关注公众号');
if($_RQ['op']=='main'){
	if(!$_RQ['fromuser']){
		$return['ischecklogin']=cfc('core')->checklogin('','',true);
	}else{
		$return['isfromuser']=1;
	}
	$return['account']=pdo_get('core_accounts',array('uniacid'=>$_SESSION['uniacid']));
	$member=model('core/member')->basic($_SESSION['uid']);
	$member['mid']=$_SESSION['uid'];
	$return['member']=$member;
	$return['sharedata']=array(
			'title'=>$return['account']['title']?$return['account']['title']:'关注公众号',
			'desc'=>$return['account']['desc']?:$return['account']['title'].'，欢迎光临，关注我的公众号！！',
			'link'=>custom_url('core/member.saoewm//fromuser='.$_SESSION['uid'],true),
			'imgUrl'=>tomedia($return['account']['logo']),
	);
	exi($return);
}

?>